package lac.serviceuint.job.model;

import java.util.List;

import lac.model.core.cfg.BasicProperty;
import lac.model.core.cfg.EntityProperty;
import lac.model.core.cfg.IdProperty;
import lac.model.core.cfg.ModelDescribe;
import lac.model.core.cfg.Type;

public class ServiceUnitJobParamModelDescribe extends ModelDescribe{

	/**
	 * 
	 */
	private static final long serialVersionUID = 70665277689388721L;
	
	public ServiceUnitJobParamModelDescribe() {
		this.setName("ServiceUnitJobParam");
		this.setTableName("pt_serviceunit_job_param");
		this.setIdProperty(new IdProperty());
		List<BasicProperty> basicProperties = this.getBasicProperties();
		basicProperties.add(new BasicProperty(Type.String, "name", "st_name", 50));
		basicProperties.add(new BasicProperty(Type.String, "describe", "st_describe", 100));
		basicProperties.add(new BasicProperty(Type.String, "javaClassType", "st_java_class_type", 100));
		basicProperties.add(new BasicProperty(Type.Integer, "index", "nIndex"));
		basicProperties.add(new BasicProperty(Type.String, "defalutValue", "st_defalut_value", 1000));
		
		List<EntityProperty> entityPropertys = this.getEntityProperties();
		entityPropertys.add(new EntityProperty("job", "st_job_id", "ServiceUnitJob"));
	}

}
